﻿using System;

namespace 简易计算器_控制台_
{
    class Program
    {
        static void Main(string[] args)
        {
             Console.WriteLine("请输入第一个数字");
            double num1 = Convert.ToDouble(Console.ReadLine());
            Console.WriteLine("请输入第二个数字");
            double num2 = Convert.ToDouble(Console.ReadLine());
            Console.WriteLine("输入您要进行的运算");
            char yunSuanFu = Convert.ToChar(Console.ReadLine());
            switch(yunSuanFu)
            {
                case '+':
                    Console.WriteLine(num1 + num2);
                    break;
                case '-':
                    Console.WriteLine(num1 - num2);
                    break;
                case '*':
                    Console.WriteLine(num1 * num2);
                    break;
                case '/':
                    Console.WriteLine(num1 / num2);
                    break;

            }




        }
    }
}
